package com.csun.cmny.provider.model.vo.nursingShiftChangeRecord;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import java.util.Date;
import java.util.List;

@Data
public class NursingShiftChangeVo {

    //交接班id
    private Long id;

    //楼栋号
    private String budingNo;

    //0-白班 1-夜班
    private Integer officeStatus;

    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    //交接班记录集合
    private List<NursingShiftChangeRecordVo> recordVos;
}
